
addpath('gpml-matlab-v3.1-2010-09-27');
addpath('Netlab');
startup;

n = 1;
n_class = 15;
y = normrnd(zeros(n*n_class,1), ones(n*n_class,1))';

n_expts = 3;
for gci = 1:n_expts
  f = normrnd(zeros(n*n_class,1), ones(n*n_class,1))';
  [grad, del] = gradchek(f, @d2, @d3, n, n_class, y);
end
